import request from '@/utils/request';
import qs from 'qs'

export function list() {
	return request({
		url: 'api/payStaff/list',
    method: 'get',
	});
}

export function DistList() {
	return request({
		url: 'api/payStaff/list',
    method: 'get',
	});
}

export function add(data: any) {
	return request({
		url: 'api/payStaff/save',
    method: 'post',
    data
	});
}

export function edit(data: any) {
	return request({
		url: 'api/payStaff/update',
    method: 'put',
    data
	});
}

export function del(data: any) {
	return request({
		url: 'api/payStaff/del',
    method: 'delete',
    data
	});
}

// id查询用户
export function info(id: string) {
  return request({
    url: 'api/payStaff/info/'+id,
    method: 'get'
  })
}


